<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>部门信息</title>
    <link rel="stylesheet" href="../static/css/pintuer.css">
    <link rel="stylesheet" href="../static/css/admin.css">
    <script src="../static/js/jquery.js"></script>
    <script src="../static/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <form action="${ctx}/user/findBySql" id="listform" method="post">
        <div class="padding border-bottom">
            <ul class="search" style="padding-left: 10px;">
                <li>
                    <input type="text" placeholder="请输入" name="" class="input" value=""
                        style="width: 250px;line-height: 17px;display: inline-block" />
                    <a href="javascript:void(0)" onclick="changeSearch()" class="button border-main icon-search">搜索</a>
                </li>
            </ul>
        </div>
    </form>
    <table class="table table-hover text-center">
        <tr>
			<th>岗位id</th>
            <th>岗位名</th>
            <th>员工部门id</th>
			<th>日期</th>
			<!-- <th>基本工资</th>
			<th>考勤工资</th>
			<th>五险一金</th>
			<th>应扣金额</th>
			<th>实发金额</th> -->
            <th>操作
			
			     <a class="button border-main" href="${ctx}/item/update?id=${data.id}"><span class="icon-edit">修改</span> </a>
			     <a class="button border-red" href="${ctx}/item/delete?id=${data.id}"><span class="icon-trash-o">下架</span> </a>
			
			</th>
			
        </tr>
        <c:forEach items="${pagers.datas}" var="data" varStatus="l"></c:forEach>
        <tr>
          

        </tr>
   
     
    </table>
</div>
<script>
    function changeSearch(){
        $("#listform").submit();
    }
</script>
</body>

</html>